package cc.io24.knewcafe.boss.config;

import com.netflix.client.config.IClientConfig;
import com.netflix.loadbalancer.IRule;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RibbonConfig {


    @Bean
    public IRule ribbonRule() {
        return new CustomRule();
    }

}
